package com.baizhi.dao;

import com.baizhi.entity.Log;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LogDao {
    int insertLog(Log log);

  /*  List<Log> selectAllByPageLog(@Param("offset") int offset,@Param("limit") int limit, @Param("logContent") String logContent,@Param("logType") String logType);*/
    /*int selectCountLog(@Param("logContent") String logContent,@Param("logType") String logType);*/
    List<Log> selectAllByPageLog(@Param("offset") int offset,@Param("limit") int limit, @Param("logType") String logType);
    int selectCountLog(@Param("logType") String logType);
}
